<?php

/**
* @Author:  	Jackie Chan
* @Email:   	th_jackie@yahoo.com
* @Link: 		http://chienluocweb.com
* @Version: 	
* @copyright:	
* @license:		Commercial
*/

// No direct access
defined('_JEXEC') or die;

jimport('joomla.application.component.view');
JLoader::register('TeamsliderHelper', JPATH_COMPONENT.'/helpers/teamslider.php');
class TeamsliderViewTeamslider extends JView
{

	public function display($tpl = null)
	{
		$this->addToolbar();
		parent::display($tpl);
	}
	protected function addToolbar()
	{
		JToolBarHelper::title(JText::_('COM_TEAMSLIDER_TEAMSLIDER_VIEW_CONTROL_PANEL') );
		JToolBarHelper::preferences('com_teamslider');
	}
}

